/************************************
 * Package: RGcpp					*
 * Authors: Rui Eduardo Gouveia Gil	*
 * Date: 2010						*
 ************************************/
#ifndef __RGCPP_HTTPDOWNLOADER_H__
#define __RGCPP_HTTPDOWNLOADER_H__

#include <string>
#include <curl/curl.h>
#include <curl/easy.h>
#include <curl/types.h>

#define MAX_HTTPDOWNLOADER_SIZE_CHECK 2048

namespace rgcpp
{

class HTTPDownloader
{
	public:
		static bool downloadFile(const std::string& url, const std::string& file);
};

}

#endif
